package com.dk.service;

import com.dk.page.PageResult;
import com.dk.pojo.Reservoir;

import java.util.List;

public interface ReservoirService {
    void insertreservoir(Reservoir reservoir);

    void deleteById(Integer id);

    void deleteAllById(List<String> ids);

    PageResult<Reservoir> getAllreservoir(Integer pageNum, Integer pageSize);

    List<Reservoir> getreservoirByName(String name);

    Reservoir getById(Integer id);

    void updatereservoir(Reservoir reservoir);
}
